package com.example.midushop.service.customer.impl;

import com.example.midushop.entity.customer.CustomerInfo;
import com.example.midushop.mapper.customer.CustomerInfoMapper;
import com.example.midushop.service.customer.CustomerInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户信息实体服务接口实现
 * */
@Service
public class CustomerInfoServiceImpl implements CustomerInfoService {
    @Autowired
    CustomerInfoMapper customerInfoMapper;

    @Override
    public CustomerInfo findLoginUserInfo(long customer_id) {
        return customerInfoMapper.findLoginUserInfo(customer_id);
    }
}
